home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000006_anthonypieper@cs.com_Mon Nov 24 14:03:56 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
  2. From: anthonypieper@cs.com (newexpectuser)
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Problems with send /delete command
  5. Date: 24 Nov 2003 10:39:19 -0800
  6. Organization: http://groups.google.com
  7. Lines: 34
  8. Message-ID: <f0bb0f39.0311241039.78a6c10e@posting.google.com>
  9. NNTP-Posting-Host: 209.251.39.194
  10. Content-Type: text/plain; charset=ISO-8859-1
  11. Content-Transfer-Encoding: 8bit
  12. X-Trace: posting.google.com 1069699160 6586 127.0.0.1 (24 Nov 2003 18:39:20 GMT)
  13. X-Complaints-To: groups-abuse@google.com
  14. NNTP-Posting-Date: Mon, 24 Nov 2003 18:39:20 +0000 (UTC)
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14682
  16.  
  17. I have Kermit running on Linux Release 9 and have the following lines
  18. in my script (This first logs me onto a remote server running Linux
  19. 7.3 and has Kermit):
  20.  
  21. set host /pty ssh -e none l root xxx.xxx.xx.xxx
  22. if fail stop 1
  23. minput 30 "password:" ">"
  24. if < \v(minput) 1 stop 1 "MINPUT = \v(minput)"
  25. switch \v(minput) {
  26. :1, echo PASSWORD INPUT OK
  27.     lineout xxxxxxxxxx
  28.     input 30 "#"
  29.     if fail stop 1 PROMPT INPUT FAILED
  30. :2, echo PROMPT INPUT OK
  31.     lineout "kermit -x"
  32.     input 20 "KERMIT READY TO SERVE..."
  33.     rcd /home/inbox
  34.     send /delete testfile.dat
  35. }
  36. bye
  37. exit
  38.  
  39. It logs me in and it gives me the remote directory listing, but when
  40. it executes the send /delete it says the following:
  41.  
  42. ?File not found - "testfile.dat"
  43. Command stack:
  44. 3. Macro   : SWITCH
  45. 2. Macro   : _switx
  46. 1. File    : /home/scripts/testkermit.sh (line 17)
  47. 0. Prompt  : (top level)
  48.  
  49. If I get the remote directory listing, I'm not sure why I am getting
  50. this error ?
  51.